<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>标牌审核</title>
</head>
<body>
<div class="box">
    <div class="box-body">
        <table id="mainDataTables" class="table table-bordered table-striped" cellspacing="0" width="100%">
            <thead>
            <tr>
                <th style="width:5%;">
                    <input onchange="$.checkChange()" type="checkbox" id="batchCheck">
                </th>
                <th>序号</th>
                <th>全景图片</th>
                <th>地址</th>
                <th>道路</th>
                <th>是否桥</th>
                <th>安全状况</th>
                <th>养护公司</th>
                <th>采集人</th>
                <th>安装时间</th>
                <th>标牌</th>
                <th>操作</th>
            </tr>
            </thead>
        </table>
    </div>
</div>

<div id="updateRoadPoleCollectModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="updateRoadPoleCollectLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="updateRoadPoleCollectForm" name="updateRoadPoleCollectForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$('#updateRoadPoleCollectModal').modal('hide')">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="updateRoadPoleCollectLabel"></b>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">项目编号</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="projectNumberUpdate"
                                           name="projectNumber"
                                           placeholder="项目编号">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="areaUpdate" class="col-sm-3 control-label">地址</label>
                                <div class="col-sm-3" style="padding-right: 0">
                                    <input type="text" class="form-control" id="provinceUpdate" name="provinceUpdate"
                                           placeholder="省" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-3" style="padding-left: 7px; padding-right: 7px">
                                    <input type="text" class="form-control" id="cityUpdate" name="cityUpdate"
                                           placeholder="市" style="padding-right: 10px" readonly>
                                </div>
                                <div class="col-sm-3" style="padding-left: 0">
                                    <input class="form-control" id="areaUpdate" name="areaUpdate"
                                           style="padding-right: 10px" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">坐标</label>
                                <div class="col-sm-8" style="padding-right: 0">
                                    <input type="text" class="form-control" id="coordinate"
                                           style="padding-right: 0" placeholder="坐标">
                                </div>
                                <div class="col-sm-1">
                                    <button type="button" style="height: 34px;float: right;" id="myBtnUpdate"
                                            onclick="$.myBtnMap()"><i
                                            class="fa fa-map-marker"></i></button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="mainOrgIdUpdate" class="col-sm-3 control-label">监管单位</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="mainOrgIdUpdate" name="mainOrgIdUpdate">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleShapeUpdate" class="col-sm-3 control-label">标杆形状</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="roadPoleShapeUpdate" name="roadPoleShapeUpdate">
                                        <option value="0">单直杆</option>
                                        <option value="1">双直杆</option>
                                        <option value="2">单挑杆</option>
                                        <option value="3">双挑杆</option>
                                        <option value="4">二F杆</option>
                                        <option value="5">三F杆</option>
                                        <option value="6">门架</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleSizeUpdate" class="col-sm-3 control-label">标杆尺寸</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="roadPoleSizeUpdate" name="roadPoleSizeUpdate"/>
                                    <ul id="roadPoleSizeListUpdate" class="iUl" style="display: none; position: absolute;
                                        z-index: 10"></ul>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadNameUpdate" class="col-sm-3 control-label">路名</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="roadNameUpdate" name="roadNameUpdate"
                                           placeholder="路名">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="startRoadUpdate" class="col-sm-3 control-label">起始路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="startRoadUpdate" name="startRoadUpdate"
                                           placeholder="起始路口">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="endRoadUpdate" class="col-sm-3 control-label">结束路口</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="endRoadUpdate" name="endRoadUpdate"
                                           placeholder="结束路口">
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">全景照片</label>
                                <div class="col-sm-9">
                                    <img id="roadPolePicUpdate" src=""
                                         style="height: 230px; width: 260px;cursor: pointer">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleSecurityUpdate" class="col-sm-3 control-label">安全状况</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="roadPoleSecurityUpdate"
                                            name="roadPoleSecurityUpdate">
                                        <option value="0">安全</option>
                                        <option value="1">不安全</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadPoleBridgeUpdate" class="col-sm-3 control-label">是否桥上</label>
                                <div class="col-sm-9">
                                    <select class="form-control" id="roadPoleBridgeUpdate" name="roadPoleBridgeUpdate">
                                        <option value="0">否</option>
                                        <option value="1">是</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="orgIdUpdate" class="col-sm-3 control-label">养护公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="orgIdUpdate" name="orgIdUpdate"
                                           placeholder="养护公司" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="createUserNameUpdate" class="col-sm-3 control-label">采集人</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="createUserNameUpdate"
                                           name="createUserNameUpdate"
                                           placeholder="采集人" readonly>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="roadPoleIdUpdate" name="roadPoleIdUpdate"/>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-success" onclick="$.roadSignAudit(1)">
                        <span class="glyphicon glyphicon-ok"></span> 通过
                    </button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal"
                            onclick="$('#updateRoadPoleCollectModal').modal('hide')">
                        <i class="fa fa-trash-o"></i> 取消
                    </button>
                    <!--<button type="submit" class="btn btn-primary btn-flat">-->
                    <!--<i class="fa fa-save"></i> 保存-->
                    <!--</button>-->
                </div>
            </form>
        </div>
    </div>
</div>

<div id="getRoadSignByRoadPoleIdModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="getRoadSignByRoadPoleIdLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 850px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeModal()">
                    <span aria-hidden="true">&times;</span></button>
                <b class="modal-title" id="getRoadSignByRoadPoleIdLabel"></b>
            </div>
            <div class="modal-body">
                <table id="modalDataTables" class="table table-bordered table-striped"
                       cellspacing="0" width="100%">
                    <thead>
                    <tr>
                        <th style="width:5%;">序号</th>
                        <th style="width:15%;">标牌图片</th>
                        <th style="width:10%;">分类</th>
                        <th style="width:10%;">状况</th>
                        <th style="width:15%;">问题</th>
                        <th style="width:10%;">创建时间</th>
                        <th style="width:5%;">保修期</th>
                        <th style="width:5%;">年限</th>
                        <th style="width:10%;">采集人</th>
                        <th style="width:10%;">操作</th>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="modal-footer" style="padding: 4px;margin: 3px; " id="modalAudit">
                <button type="submit" id="ac-button" class="btn btn-success" onclick="$.roadSignAudit(1)">
                    <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 通过
                </button>
                <button type="button" class="btn btn-primary" data-dismiss="modal" style="margin-right: 3px"
                        onclick="$.closeShowModal()"><i
                        class="fa fa-trash-o"></i> 取消
                </button>
            </div>
        </div>
    </div>
</div>
<div id="roadSignCollectModal" class="modal fade" tabindex="-1" role="dialog"
     aria-labelledby="roadSignCollectLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="roadSignCollectForm" name="roadSignCollectForm"
                  class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick='$.clearModal($("#roadSignCollectForm"), $("#roadSignCollectModal"))'>
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="roadSignCollectLabel"></b>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group">
                                <label for="roadSignTypeModal" class="col-sm-3 control-label">标志分类</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignType" id="roadSignTypeModal">
                                        <option value="0">警告标志</option>
                                        <option value="1">禁令标志</option>
                                        <option value="2">指示标志</option>
                                        <option value="3">指路标志</option>
                                        <option value="4">旅游标志</option>
                                        <option value="5">辅助标志</option>
                                        <option value="6">作业标志</option>
                                        <option value="7">告示标志</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignMeaningModal" class="col-sm-3 control-label">标志含义</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignMeaning" id="roadSignMeaningModal">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignShapeModal" class="col-sm-3 control-label">标志形状</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignShape" id="roadSignShapeModal">
                                        <option value="0">圆形</option>
                                        <option value="1">八角形</option>
                                        <option value="2">正三角</option>
                                        <option value="3">倒三角</option>
                                        <option value="4">矩形</option>
                                        <option value="5">方形</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignSizeModal" class="col-sm-3 control-label">标牌尺寸</label>
                                <div class="col-sm-9">
                                    <input class="form-control" id="roadSignSizeModal" name="roadSignSizeModal">
                                    <ul id="roadSignSizeList" class="iUl"
                                        style="display: none;position: absolute;z-index: 10"></ul>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignBugModal" class="col-sm-3 control-label">存在问题</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignBug" id="roadSignBugModal">
                                        <option value="0">正常</option>
                                        <option value="1">膜脱落</option>
                                        <option value="2">膜淡化</option>
                                        <option value="3">逆反射系数不达标</option>
                                        <option value="4">卷边</option>
                                        <option value="5">转向</option>
                                        <option value="6">非国际</option>
                                        <option value="7">抱箍缺少</option>
                                        <option value="8">净空高不达标</option>
                                        <option value="9">设置不合理</option>
                                        <option value="10">缺失</option>
                                        <option value="11">建议增设</option>
                                        <option value="12">与交通组织矛盾</option>
                                        <option value="13">内容有误</option>
                                        <option value="14">标牌与标杆不配套</option>
                                        <option value="15">非公指示牌</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignSecurityModal" class="col-sm-3 control-label">安全状况</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignSecurity" id="roadSignSecurityModal">
                                        <option value="0">安全</option>
                                        <option value="1">不安全</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignDirectionModal" class="col-sm-3 control-label">标志朝向</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignDirection" id="roadSignDirectionModal">
                                        <option value="0">东</option>
                                        <option value="1">南</option>
                                        <option value="2">西</option>
                                        <option value="3">北</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignMaterialModal" class="col-sm-3 control-label">标志材料</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignMaterial" id="roadSignMaterialModal">
                                        <option value="0">铝板</option>
                                        <option value="1">塑料板</option>
                                        <option value="2">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignInstallTypeModal" class="col-sm-3 control-label">安装方式</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignInstallType"
                                            id="roadSignInstallTypeModal">
                                        <option value="0">单标志</option>
                                        <option value="1">合杆</option>
                                        <option value="2">借杆</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="installOrgModal" class="col-sm-3 control-label">安装公司</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="installOrgModal"
                                           name="installOrg" placeholder="安装公司">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignRemarkModal" class="col-sm-3 control-label">备注说明</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="roadSignRemarkModal"
                                           name="roadSignRemark" placeholder="备注说明">
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group" id="roadSignPicModalDiv">
                                <label class="col-sm-3 control-label">标牌照片</label>
                                <div class="col-sm-9">
                                    <img id="roadSignPicModal"
                                         style="height: 185px; width: 260px;cursor: pointer" src="">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="defectsLiabilityPeriodModal" class="col-sm-3 control-label">保修期</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="defectsLiabilityPeriod"
                                            id="defectsLiabilityPeriodModal">
                                        <option value="1">1年</option>
                                        <option value="2">2年</option>
                                        <option value="3">3年</option>
                                        <option value="4">4年</option>
                                        <option value="5">5年</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="serviceLifeModal" class="col-sm-3 control-label">使用年限</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="serviceLife" id="serviceLifeModal">
                                        <option value="1">1年</option>
                                        <option value="2">2年</option>
                                        <option value="3">3年</option>
                                        <option value="4">4年</option>
                                        <option value="5">5年</option>
                                        <option value="6">6年</option>
                                        <option value="7">7年</option>
                                        <option value="8">8年</option>
                                        <option value="9">9年</option>
                                        <option value="10">10年</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="environmentModal" class="col-sm-3 control-label">使用场景</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="environment" id="environmentModal">
                                        <option value="0">日常使用</option>
                                        <option value="1">施工配合</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignLightModal" class="col-sm-3 control-label">光源显示</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignLight" id="roadSignLightModal">
                                        <option value="0">反光</option>
                                        <option value="1">发光</option>
                                        <option value="2">照明</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignFixedModal" class="col-sm-3 control-label">固定方式</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="roadSignFixed" id="roadSignFixedModal">
                                        <option value="0">扎带</option>
                                        <option value="1">抱箍</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="roadSignInstallTimeModal" class="col-sm-3 control-label">安装日期</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="roadSignInstallTimeModal"
                                           name="roadSignInstallTime" placeholder="安装日期">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="createUserNameModal" class="col-sm-3 control-label">采集人</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="createUserNameModal"
                                           name="createUserName" placeholder="采集人" readonly>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="roadSignIdModal" name="roadSignId"/>
                <input type="hidden" id="roadPoleIdModal" name="roadPoleId"/>
                <input type="hidden" id="orgIdModal" name="orgId"/>
                <input type="hidden" id="createUserIdModal" name="createUserId"/>
                <input type="hidden" id="mainOrgIdModal" name="mainOrgId"/>
                <input type="hidden" id="roadSignPic" name="roadSignPic"/>
                <input type="hidden" id="roadSignQrcode" name="roadSignQrcode"/>
            </form>
        </div>
    </div>
</div>

<div class="modal fade" id="upPictureModal" tabindex="-1" role="dialog"
     aria-labelledby="upPictureModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                        onclick="$.closeUpPhModal()">
                    <span aria-hidden="true">&times;</span>
                </button>
                <b class="modal-title" id="upPictureModalLabel"></b>
            </div>
            <div class="modal-body row">
                <div id="container" class="col-sm-12">
                    <a id="selectfiles" href="javascript:void(0);" class='btn btn-primary'>
                        <span class='glyphicon glyphicon-picture'></span> 选择图片</a>
                    <a id="postfiles" href="javascript:void(0);" class='btn btn-success'>
                        <span class='glyphicon glyphicon-send'></span> 开始上传</a>
                </div>
                <div id="ossfile" class="col-sm-12" style="margin-top: 20px;"></div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="$.closeUpPhModal()">
                    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> 取消
                </button>
                <button type="button" class="btn btn-success" onclick="$.doneUpPhoto()">
                    <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                </button>
            </div>
        </div>
    </div>
</div>
<div id="modal-map" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-map"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="form-map" name="form-map" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-map'), $('#modal-map'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title" id="label-map">地图展示</b>
                </div>
                <div class="modal-body">
                    <iframe src="fault/roadPoleAuditMap.html" id="myMap"
                            style="width: 100%;height: 365px"
                            frameBorder=0
                            scrolling=no></iframe>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat"
                            onclick="$.clearModal($('#form-map'), $('#modal-map'))">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
<div id="modal-AllInformation" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="label-map"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <form id="form-AllInformation" name="form-map" class="form-horizontal" role="form" method="post">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            onclick="$.clearModal($('#form-map'), $('#modal-map'))">
                        <span aria-hidden="true">&times;</span></button>
                    <b class="modal-title">信息展示</b>
                </div>
                <div class="modal-body">
                    <table id="myTable" class="table table-bordered table-striped">
                        <tr>
                            <td><b>标杆</b></td>
                            <td id="projectNo"></td>
                        </tr>
                        <tr>
                            <td rowspan="6" colspan="3"><img id="img" style="width: 230px;height:270px; cursor: pointer"
                                                             src=""></td>
                            <td><b>地址：</b></td>
                            <td colspan="3" id="address"></td>
                        </tr>
                        <tr>
                            <td><b>形状：</b></td>
                            <td id="shape"></td>
                            <td><b>安全状况：</b></td>
                            <td id="security"></td>
                        </tr>
                        <tr>
                            <td><b>是否过桥：</b></td>
                            <td id="bridge"></td>
                            <td><b>采集员：</b></td>
                            <td id="create"></td>
                        </tr>
                        <tr>
                            <td><b>尺寸：</b></td>
                            <td colspan="3" id="size"></td>
                        </tr>
                        <tr>
                            <td><b>养护单位：</b></td>
                            <td colspan="3" id="company"></td>
                        </tr>
                        <tr>
                            <td><b>监管单位：</b></td>
                            <td colspan="3" id="mainOrg"></td>
                        </tr>
                        <tr id="t">
                        </tr>

                    </table>
                    <div id="myDiv">
                        <p id="mp">这是一句换</p>
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-primary btn-flat">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> 完成
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="../plugins/oss-h5-upload-js-direct/lib/plupload-2.1.2/js/plupload.full.min.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/crypto1/crypto/crypto.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/crypto1/hmac/hmac.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/crypto1/sha1/sha1.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/lib/base64.js"></script>
<script src="../plugins/oss-h5-upload-js-direct/upload.js"></script>
<script src="management/roadSignAudit.js"></script>
</body>
</html>